﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
using DAL;

namespace BLL
{
    public class X_BShopcart
    {
        //获取购物车的所有数据
        public static List<ShoppingCart> Get(int uid)
        {
            return X_Shopcart.Get(uid);
        }
         //添加购物车
        public int Insertcart(ShoppingCart sc)
        {
            return X_Shopcart.Insertcart(sc);
        }
         //修改购物车
        public static int Updatashop(ShoppingCart sc)
        {
            return X_Shopcart.Updatashop(sc);
        }
           //删除
        public static int Delshop(ShoppingCart sc)
        {
            return X_Shopcart.Delshop(sc);
        }
    }
}
